
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

 body {
    font-family: 'Inter', Arial, sans-serif;
    color:#292929; 
    }

/* Контейнер гамбургера */
 .hamburger {
    position: fixed; /* Всегда на экране */
    top: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

/* Полоски гамбургера */
  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
    }      

/* Меню */
  .navbar {
    position: fixed;
    top: 0;
    right: -300px; /* Скрыто за экраном */
    width: 300px;
    height: 100vh;
    background: #333;
    padding: 80px 20px 20px;
    transition: 0.3s;
    z-index: 999;
    }

     .navbar.active {
            right: 0; /* Показываем меню */
        }

      .navbar a {
            display: block;
            color: white;
            text-decoration: none;
            padding: 15px;
            border-bottom: 1px solid #444;
            font-size: 18px;
        }

      .navbar a:hover {
            background: #444;
      }    

/* Анимация гамбургера в крестик */
        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }

        /* Оверлей */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            display: none;
            z-index: 998;
        }

        .overlay.active {
            display: block;
        }


/*.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 800px;
  background-image: url('../images/bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15; 
  z-index: 1;  
} */

.hero-name-text {
  margin-top: 100px;
  text-align: center;
  font-weight: bold;
  font-size: 40px;
  
}

.hero-top-text {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    font-size: 35px;
}

/* Моя фотография */
.myphoto {
text-align: center;
margin-top: 150px;
}

.logo {
padding: 20px 0px 0px 20px;
}

/* Кнопки для скачивания Резюме*/
.download-button {
    display: inline-block; 
    padding: 10px 20px;
    background-color: #007BFF;
    color: white; 
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    border: none;
}


.download-button:hover {
    background-color: #0056b3; /* Темнее при наведении */
}

/* Кнопка для перехода в блок Проекты*/
.portfolio-button {
    display: inline-block; 
    padding: 10px 20px;
    background-color: #007BFF;
    color: white; 
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    border: none;
}

.portfolio-button:hover {
    background-color: #0056b3; /* Темнее при наведении */
}

.about {
  min-height: 300px;
}

.about-title {
  text-align: center;
  margin-top: 40px;
}

.about-text {
  text-align: center;
  margin-top: 20px;
}